/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.penguin.modules.field.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.sys.entity.Office;

/**
 * 业务数据配置表Entity
 * @author 余小凡
 * @version 2015-05-23
 */
public class SysConfigDistionary extends DataEntity<SysConfigDistionary> {
	
	private static final long serialVersionUID = 1L;
	private String keyname;		// 建
	private String value;		// 值
	private String name;		// 名字
	private Office office;		//公司
	public SysConfigDistionary() {
		super();
	}

	public SysConfigDistionary(String id){
		super(id);
	}

	@Length(min=0, max=20, message="建长度必须介于 0 和 20 之间")
	public String getKeyname() {
		return keyname;
	}

	public void setKeyname(String keyname) {
		this.keyname = keyname;
	}
	
	@Length(min=0, max=50, message="值长度必须介于 0 和 50 之间")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	@Length(min=0, max=50, message="名字长度必须介于 0 和 50 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Office getOffice() {
		return office;
	}

	public void setOffice(Office office) {
		this.office = office;
	}
	
	
}